import React, { Component } from 'react'

export default class AccountItem extends Component {
  render() {
    const { data } = this.props
    return (
      <div className="rt-account-item">
        <div className="-first">
          <div className="-item">
            <span>账户点数</span>
            <em>{data.amount}</em>
          </div>
          <div className="-row">
            充值
          </div>
        </div>
        <div className="-two">
          <span>
            认购项目
          </span>
          <em>
            {data.num}
          </em>
        </div>
        <div className="-three">
          <span>
            认购总额
          </span>
          <em>
            {data.price}
          </em>
        </div>
      </div>
      )
  }
}